use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(js_namespace = console, js_name = log)]
    pub fn js_log_str(a:&str);
}

#[wasm_bindgen]
#[derive(Debug)]
pub struct Vtexted {
    _1:bool,
}

#[wasm_bindgen]
impl Vtexted {
    #[wasm_bindgen(constructor)]
    pub fn new() -> Self {
        js_log_str("WASM IT'S BEGIN");
        Self {
            _1: false,
        }
    }
}
